from django.conf.urls import url
from .views import *

urlpatterns = [
    url(r'^areas/$', AreasView.as_view(), name='areas'),
    url(r'^areas/create/$', CreateAddressView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/$', UpdateDestroyAddressView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/default/$', DefaultAddressView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/title/$', UpdateTitleAddressView.as_view()),
]
